﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using System.Xml.Linq;

namespace Ocean.His.MedicalInsurance
{
    [DataContract]
    public class SICatalogDownloadData
    {
        [DataMember(Name = "ver")]
        public string Ver { get; set; }

        public SICatalogDownloadData(string ver)
        {
            Ver = ver;
        }
    }

    [DataContract]
    public class SICatalogDownloadInputModel
    {
        [DataMember(Name = "data")]
        public SICatalogDownloadData SICatalogDownloadData { get; set; }

        public SICatalogDownloadInputModel(string ver)
        {
            SICatalogDownloadData = new SICatalogDownloadData(ver);
        }
    }

    /// <summary>
    /// CatalogDownload
    /// 西药中成药目录下载
    /// </summary>
    [DataContract]
    public class SI1300RequestModel : SIBaseRequestModel
    {
        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SICatalogDownloadInputModel Input { get; set; }

        public SI1300RequestModel(MedicalInsuranceOption medicalInsuranceOption, string infNo, string ver) : base(medicalInsuranceOption)
        {
            Infno = infNo;
            Input = new SICatalogDownloadInputModel(ver);
        }
    }
}
